<template>
<div>
    <Button type="primary" v-has="'xx'" >按钮1</Button>
    <Button type="dashed" ref="xwx">按钮2</Button>
    <Button type="success" v-has="'aa'">按钮3</Button>
    <Button type="warning">按钮4</Button>
    <Button type="error">按钮5</Button>
</div>
</template>

<script>
export default {
  created () {
    let permis = ['aa', 'bb', 'cc', 'dd'].toString()
    this.$common.setBtnPermission(permis)
  },
  mounted () {
  }
}
</script>

<style scoped>

</style>
